package com.yolo.util;

/**
 * ClassName: YoluoTools
 * Description:
 * date: 2021/4/25 18:25
 *
 * @author 须臾
 * @since JDK 1.8
 * 日志操作类型字典翻译
 */
public class YoluoTools {

    public static String businessTypeFormat(int btype){
        String type=null;
        switch (btype){
            case 1:
                type="查询";
                break;
            case 2:
                type="新增";
                break;
            case 3:
                type="修改";
                break;
            case 4:
                type="删除";
                break;
            case 5:
                type="导出";
                break;
            case 6:
                type="授权";
                break;
            default:
                type="清空数据";
                break;
        }
        return type;
    }
}
